package com.atguigu.examsystemserver.service;

import com.atguigu.examsystemserver.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CategoryService extends IService<Category> {

    List<Category> getSelectList();

    List<Category> getTreeList();

    void saveNewCategory(Category category);

    void updateNewCategory(Category category);

    void removeCategory(Long id);
}